package com.sdgs.paas.sdk.core.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 从配置中心拉取纯文本配置文件服务的配置
 *
 * @author wjj
 *
 */
@ConfigurationProperties(prefix = "shtelpaas.plainconfigfile")
public class PaasPlainConfigFileProperties {
	
	private boolean enabled=false;
	@Value("${spring.cloud.config.discovery.serviceId:shtel-paas-configserver}")
	private String configserver;
	public boolean isEnabled() {
		return enabled;
	}
	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}
	public String getConfigserver() {
		return configserver;
	}
	public void setConfigserver(String configserver) {
		this.configserver = configserver;
	}
	


}
